package com.share.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.device.domain.PowerBank;

import java.util.List;

public interface IPowerBankService extends IService<PowerBank>
{

    /**
     * 查询充电宝列表
     * @param powerBank
     * @return
     */
    List<PowerBank> selectPowerBankList(PowerBank powerBank);


    /**
     * 新增充电宝
     * @param powerBank
     * @return
     */
    int savePowerBank(PowerBank powerBank);

    /**
     * 修改充电宝
     * @param powerBank
     * @return
     */
    int updatePowerBank(PowerBank powerBank);


    PowerBank getByPowerBankNo(String powerBankNo);
}